-- CALC_ALADDIN_WRECKAGE

-- 计算阿拉丁残骸奖励
-- @param user   玩家对象
-- @param bonus  配置的奖励
return function(user, bonus)
    local ret = { {1, 7168, 3}, }

    local aladdinId = 8073;
    if ItemM.getAmount(user, aladdinId) <= 0 then
        table.insert(ret, { 1, aladdinId, 1 });
    end

    return ret;
end
